<#include "top.ftl" >
<#include "manage_top.ftl">
<script type="text/javascript" src="js/type_edit.js" ></script>
<html>
	<body>
		<div class="middle">
			<table id="type" title="动漫类型" rownumbers="true" fitColumns="true" toolbar="#typeToolbar" 
			pagination="true" style="height:365px" idField="type_code">
				<thead>
					<tr>
						<th data-options="field:'type_code',editor:{type:'text'}">${i18n.getText("type_type_code")}</th>
						<th data-options="field:'sort_no',editor:{type:'numberspinner',options:{required:true}}">${i18n.getText("type_sort_no")}</th>
					</tr>
				</thead>
				<div id="typeToolbar">
					<a id="addType" href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-add" plain="true">${i18n.getText("add")}</a>  
			        <a id="deleteType" href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-remove" plain="true">${i18n.getText("delete")}</a>  
			        <a id="saveType" href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-save" plain="true">${i18n.getText("save")}</a>  
			        <a id="cancelType" href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-undo" plain="true">${i18n.getText("cancel")}</a>
				</div>
			</table>
		</div>
	</body>
</html>